package main

import (
	"titargo/controllers"
	"titargo/models"
)

func main() {
	//db := models.Open()
	//defer db.Close()
	//controllers.SSLInit()
	db := models.Open()
	r := controllers.GetRoute()
	defer func(){
		db.Close()
		controllers.Store.Close()
	}()
	r.Run(":8070")
}
